package com.zx.erp.market.service;

import com.github.pagehelper.PageInfo;
import com.zx.erp.market.bean.Custom;

import java.util.List;

public interface CustomService {

    public PageInfo<Custom> findPageAll(Custom custom, List<Integer> cidList, Integer allot, Integer pageNum, Integer pageSize);

    public Custom findBy(Integer id);

    public boolean addCustom(Custom custom);

    public boolean editCustom(Custom custom);

    public List<Custom> findAll(Custom custom);

    public List<Custom> findByAddress(List<Integer> cidList);
}
